package main.activities;

import main.core.gameCore;
import main.gameInfo.gameInfo;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

public class BattlefieldActivity extends Activity {
    /** Called when the activity is first created. */
	
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
       
        requestWindowFeature( Window.FEATURE_NO_TITLE );  // retira barra de titulo
        getWindow().setFlags( WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); // deixa full screen
             
        gameInfo.SCREEN_WIDTH = getWindow().getWindowManager().getDefaultDisplay().getWidth();
        gameInfo.SCREEN_HEIGHT = getWindow().getWindowManager().getDefaultDisplay().getHeight();
        
        setContentView(new gameCore(getApplicationContext(),null));

    }
}